#ifndef DLG_BOOKRET_H
#define DLG_BOOKRET_H

#include <QDialog>

namespace Ui {
class dlg_bookret;
}

class dlg_bookret : public QDialog
{
    Q_OBJECT

public:
    explicit dlg_bookret(QWidget *parent = nullptr);
    ~dlg_bookret();
    void setType(bool isReturn);
    void setBookId(int id);

private slots:
    void on_btn_ret_clicked();

    void on_btn_cancel_clicked();

private:
    Ui::dlg_bookret *ui;
    int m_bookid;
    bool m_isReturn = false;
};

#endif // DLG_BOOKRET_H
